package com.exchange.View;

import android.view.View;
import android.view.animation.Animation;
import android.view.animation.Animation.AnimationListener;
import java.util.ArrayList;
import java.util.Iterator;

class e
  implements Animation.AnimationListener
{
  public void onAnimationEnd(Animation paramAnimation)
  {
    Iterator localIterator;
    t.a(this.a, t.b.c);
    this.a.clearAnimation();
    if (this.a.b)
    {
      this.a.d.setVisibility(8);
      this.a.o = false;
      t.m(this.a);
      if (this.a.u != null)
        localIterator = this.a.u.iterator();
    }
    while (true)
    {
      while (!(localIterator.hasNext()))
      {
        return;
        this.a.o = true;
      }
      ((Animation.AnimationListener)localIterator.next()).onAnimationEnd(paramAnimation);
    }
  }

  public void onAnimationRepeat(Animation paramAnimation)
  {
    Iterator localIterator;
    if (this.a.u != null)
      localIterator = this.a.u.iterator();
    while (true)
    {
      if (!(localIterator.hasNext()))
        return;
      ((Animation.AnimationListener)localIterator.next()).onAnimationRepeat(paramAnimation);
    }
  }

  public void onAnimationStart(Animation paramAnimation)
  {
    Iterator localIterator;
    t.a(this.a, t.b.b);
    if (this.a.u != null)
      localIterator = this.a.u.iterator();
    while (true)
    {
      if (!(localIterator.hasNext()))
        return;
      ((Animation.AnimationListener)localIterator.next()).onAnimationStart(paramAnimation);
    }
  }
}